﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Xajhzwb.Components.Publish
{
    public class PublishControl
    {
        private PublishManage m_PublishManage;
        internal PublishManage PublishManage
        {
            get { return m_PublishManage; }
            set { m_PublishManage = value; }
        }

        public PublishControl()
        {
            m_PublishManage = new PublishManage();
        }

        public void startPublish(PublishTask pT)
        {
            m_PublishManage.AddPublishTask(pT);
        }

        public void startSaveTempData(PublishTask pT)
        {
            m_PublishManage.AddSaveTempDataTask(pT);
        }

    }
}
